home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 14446 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: news.orl.mmc.com!usenet
  2. From: Ted Dennison <dennison@escmail.orl.mmc.com>
  3. Newsgroups: comp.lang.ada,comp.lang.c++
  4. Subject: Re: some questions re. Ada/GNAT from a C++/GCC user
  5. Date: Sat, 30 Mar 1996 14:49:00 -0500
  6. Organization: Lockheed Martin Marine Systems
  7. Message-ID: <315D902C.6F7B@escmail.orl.mmc.com>
  8. References: <wnewmanDoxrCp.DKv@netcom.com> <4je9ju$174r@watnews1.watson.ibm.com> <ROGOFF.96Mar28134118@sccm.Stanford.EDU> <4jhe1v$m0g@dayuc.dayton.saic.com> <315CDCF9.31AF@mcs.com>
  9. NNTP-Posting-Host: bubba_4.orl.mmc.com
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.01 (X11; I; HP-UX A.09.01 9000/750)
  14.  
  15. Mike Young wrote:
  16. > Hmmmm. Lacking a language based synch method doesn't mean we always go
  17. > straight to the semaphore library. I commonly use thin wrappers to guard
  18. > precious resources -- for example: mutexes, semaphores, files,
  19. > or database sessions. Local scoping allows precise control of lifetimes,
  20. > and ensure release even when exceptions are possible:
  21.  
  22. OK. Now what do you do if you have to port that code to DOS? :-)
  23.  
  24. -- 
  25. T.E.D.          
  26.                 |  Work - mailto:dennison@escmail.orl.mmc.com  |
  27.                 |  Home - mailto:dennison@iag.net              |
  28.                 |  URL  - http://www.iag.net/~dennison         |
  29.